package com.xmg.boot.demo.bootcommon.utils.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: ma
 * @date: 2023-12-04
 * @since: 统一分页 - 排序字段
 */
@Data
@AllArgsConstructor
public class PagingSort implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据库字段")
    private String field;
    @ApiModelProperty("条件")
    // asc  desc
    private String sort;
}
